package com.beta.cust.bind.datasync.api.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 带有分页信息的入参
 *
 * @param <T>
 */
@Data
@Accessors(chain = true)
public class PageInfoReq<T> implements Serializable {
    @ApiModelProperty("当前页，从 1 开始")
    private int page;
    @ApiModelProperty("每页条数")
    private int perSize;
    @ApiModelProperty("排序字段名")
    private String orderColumn;
    @ApiModelProperty("排序方式：asc、desc")
    private String orderDirection;
    @ApiModelProperty("请求实体中的信息")
    private T reqEntity;
}
